# -*- coding: utf-8 -*-
"""
Created on Mon Nov 18 19:35:09 2013

@author: wudong
"""
from abaqus import session
# from abaqusConstants import *
def setViewportFontSize(fontSize):
    vp = session.viewports[session.currentViewportName]
    fontStr = '-*-verdana-medium-r-normal-*-*-%d0-*-*-p-*-*-*'%(fontSize)
    vp.viewportAnnotationOptions.setValues(triadFont=fontStr, 
        legendFont=fontStr, titleFont=fontStr, stateFont=fontStr)
    pass
    